package com.imooc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 啊昌
 * @date 2025/9/10 20:37
 * Application 网关
 */

@SpringBootApplication(exclude = {
		DataSourceAutoConfiguration.class // 排除数据源
})
@EnableDiscoveryClient  // 开启注册中心的服务注册和发现功能
public class Application {	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
